<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>测试模板引擎</title>
</head>
<body>
	<h3 th:text="${name}"></h3>
	<div shiro:hasPermission = "user:add">
	进入用户添加功能: <a href="add">用户添加</a><br>
	</div>
	<div shiro:hasPermission = "user:update">
	进入用户更新功能: <a href="update">用户更新</a><br>
	</div>
	<a href="toLogin">登录</a>
	
</body>
</html>